package ltd.newbee.mall.enums;

import lombok.Getter;

/**
 * @ClassName: PayPatternEnum
 * @Description: 支付方式枚举类
 * @Author: bwh
 * @Date: 2021/9/3 16:07
 * @Version 1.0
 */
@Getter
public enum PayPatternEnum implements ICodeEnum<Integer>
{
    WECHAT_PAY(0, "微信支付"),
    ALI_PAY(1, "支付宝支付"),
    BANKCARD_PAY(2,"银行卡支付");

    private final Integer code;

    private final String message;

    PayPatternEnum(Integer code, String message)
    {
        this.code = code;
        this.message = message;
    }
}
